HelpersLibrary\Scan_Process D

Total Complexity 213
Dependencies 6
Dependents 0
Total lines 2,043
Lines of code 950
Logical lines of code 593
Comment lines 558
Methods 47
Properties 11

Methods 47

Method Rating Maintainability Complexity Lines of code
try_to_start()
C
33 22 94
start()
B
30 19 132
handle()
A
45 15 41
process_status_checks()
A
45 14 37
process_post_ids()
A
44 11 42
process_term_ids()
A
44 11 42
process_menu_ids()
A
47 11 33
process_user_ids()
A
46 10 36
set_group()
S
51 7 26
complete()
S
43 5 51
push_to_queue()
S
52 6 24
update_progress()
S
53 5 23
display_progress_bar()
S
46 4 36
get_memory_limit()
S
60 5 13
get_queue_count()
S
57 4 17
get_queue_files()
S
59 4 14
get_queue_file()
S
61 4 13
delete()
S
62 4 12
memory_exceeded()
S
57 3 16
update()
S
60 3 12
can_we_start()
S
61 3 12
maybe_handle()
S
63 3 12
handle_cron_healthcheck()
S
65 3 11
delete_all_scan_batches()
S
55 2 20
cancel()
S
54 2 18
time_exceeded()
S
63 3 10
set_hooks()
S
52 1 30
get_post_args()
S
60 2 13
schedule_cron_healthcheck()
S
62 2 11
schedule_event()
S
73 2 5
get_query_args()
S
64 2 10
get_query_url()
S
68 2 7
is_process_running()
S
71 2 6
lock_process()
S
68 2 6
cancel_process()
S
72 2 6
clear_scheduled_event()
S
71 2 6
__construct()
S
62 1 11
get_prepend_flag()
S
82 1 3
get_cron_interval()
S
70 1 6
get_identifier()
S
82 1 3
dispatch()
S
70 1 6
get_queue_file_path()
S
77 1 3
get_time_limit()
S
78 1 3
unlock_process()
S
76 1 4
init()
S
70 1 6
generate_key()
S
71 1 5
is_queue_empty()
S
80 1 3